package com.example.library.service;

import com.example.library.common.Result;
import com.example.library.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.library.entity.UserDTO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 胡绍杆
 * @since 2022-06-16
 */
public interface IUserService extends IService<User> {

    Result login(User user);

    Result logout();

    Result changePassword(String account, String newPassword);

}
